ChannelPushSettingComponent

open class ChannelPushSettingComponent

Constructors

Link copied to clipboard
open fun ChannelPushSettingComponent()

Types

Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
open fun getRootView(): View
Returns the view created by onCreateView.
Link copied to clipboard
open fun notifyChannelChanged(@NonNull channel: GroupChannel)
Notifies this component that the channel data has changed.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onPushOptionAllClicked(@NonNull view: View)
Called when the item of the menu list is clicked.
Link copied to clipboard
protected open fun onPushOptionMentionsOnlyClicked(@NonNull view: View)
Called when the item of the menu list is clicked.
Link copied to clipboard
protected open fun onSwitchButtonClicked(@NonNull view: View)
Called when the item of the menu list is clicked.
Link copied to clipboard
open fun setOnPushOptionAllClickListener(@Nullable pushOptionAllClickListener: View.OnClickListener)
Register a callback to be invoked when the item of the menu is clicked.
Link copied to clipboard
open fun setOnPushOptionMentionsOnlyClickListener(@Nullable pushOptionMentionsOnlyClickListener: View.OnClickListener)
Register a callback to be invoked when the item of the menu is clicked.
Link copied to clipboard
open fun setOnSwitchButtonClickListener(@Nullable channelPushButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the item of the menu is clicked.

Properties

Link copied to clipboard
val params: ChannelPushSettingComponent.Params